package com.onlineMIS.ORM.entity.headQ.finance;

import java.util.Date;

import javax.xml.crypto.Data;

import org.apache.commons.beanutils.BeanUtils;

public class FinanceBillVO {
	
	
	public String chainName;
	
	public Integer billId;
	
	private Integer billType;
	
	private String date;
	
	private double amount;
	
	private int status;
	
	private String remark;

	public FinanceBillVO(FinanceBill billDB) {
		this.chainName = billDB.getCust().getName();
		this.billId = billDB.getId();
		this.billType = billDB.getType();
		this.date = billDB.getBillDate().toString();
		this.amount = billDB.getInvoiceTotal();
		this.status = billDB.getStatus();
		this.remark = billDB.getComment();
		
	}

	public String getChainName() {
		return chainName;
	}

	public void setChainName(String chainName) {
		this.chainName = chainName;
	}



	public Integer getBillId() {
		return billId;
	}

	public void setBillId(Integer billId) {
		this.billId = billId;
	}

	public Integer getBillType() {
		return billType;
	}

	public void setBillType(Integer billType) {
		this.billType = billType;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
	
	

}
